﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;

namespace Word_Learner_3.Model
{
    [Serializable]

    public class Config : Nullable
    {

        private List<ConfigItem> configItem;

        [XmlElement]
        public List<ConfigItem> ConfigItem
        {
            get { return configItem; }
            set { configItem = value; }
        }

    }
    [Serializable]
    public class ConfigItem : Nullable
    {
        
        private int top;
        
        public int Top
        {
            get { return top; }
            set { top = value; }
        }
        private int left;

        public int Left
        {
            get { return left; }
            set { left = value; }
        }
       
        private int interval;

        public int Interval
        {
            get { return interval; }
            set { interval = value; }
        }
        private bool topMost;

        public bool TopMost
        {
            get { return topMost; }
            set { topMost = value; }
        }
        private double opacity;

        public double Opacity
        {
            get { return opacity; }
            set { opacity = value; }
        }

        private bool readOrNot;

        public bool ReadOrNot
        {
            get { return readOrNot; }
            set { readOrNot = value; }
        }
    }
}
